
--[[
	**********************
	* SvFrame - thomasfn *
	**********************
	enums.lua - Loads enumerations
]]

svr.Enum( "mat", {
	none = 0,
	wood = 1,
	leather = 2,
	stone = 3,
	iron = 4,
	gold = 5,
	diamond = 6
}, true )

svr.Enum( "mob", {
	creeper = 50,
	skeleton = 51,
	spider = 52,
	giant_zombie = 53,
	zombie = 54,
	slime = 55,
	ghast = 56,
	zombie_pigman = 57,
	pig = 90,
	sheep = 91,
	cow = 92,
	hen = 93,
	squid = 94,
	wolf = 95
}, true )

svr.Enum( "col", {
	black = 0,
	blue = 1,
	dark = {
		teal = 3,
		red = 4,
		magenta = 5,
		grey = 8
	},
	gold = 6,
	grey = 7,
	light = {
		blue = 9
	},
	green = 10,
	teal = 11,
	red = 12,
	magenta = 13,
	yellow = 14,
	white = 15
}, true )

COL_ID = {
	[0] = colour.Black,
	[1] = colour.Blue,
	[2] = colour.DarkGreen,
	[3] = colour.DarkTeal,
	[4] = colour.DarkRed,
	[5] = colour.DarkMagenta,
	[6] = colour.Gold,
	[7] = colour.Grey,
	[8] = colour.DarkGrey,
	[9] = colour.LightBlue,
	[10] = colour.Green,
	[11] = colour.Teal,
	[12] = colour.Red,
	[13] = colour.Magenta,
	[14] = colour.Yellow,
	[15] = colour.White
}

svr.Enum( "block", {
	air = 0,
	stone = 1,
	dirt = 3,
	cobblestone = 4,
	wood = 5,
	sapling = 6,
	sand = 12,
	gravel = 13,
	gold_ore = 14,
	iron_ore = 15,
	coal = 16,
	log = 17,
	leaves = 18,
	sponge = 19,
	glass = 20,
	dispenser = 23,
	noteblock = 25,
	bed = 26,
	powered_rail = 27,
	dectector_rail = 28,
	piston_sticky = 29,
	cobweb = 30,
	tallgrass = 31,
	deadsshrub = 32,
	piston = 33,
	piston_extension = 34,
	wool = 35,
	piston_moved_block = 36,
	yellow_flower = 37,
	red_flower = 38,
	brown_mushroom = 39,
	red_mushroom = 40,
	gold_block = 41,
	iron_block = 42,
	doubleslab = 43,
	slab = 44,
	brick = 45,
	tnt = 46,
	bookshelf = 47,
	moss_stone = 48,
	obsidian = 49,
	torch = 50,
	fire = 51,
	mob_spawner = 52,
	wood_stairs = 53,
	chest = 54,
	wire = 55,
	diamond_block = 57,
	workbench = 58,
	furnace = 61,
	furnace_lit = 62,
	wood_door = 64,
	ladder = 65,
	tracks = 66,
	stone_stairs = 67,
	lever = 69,
	stone_pad = 70,
	iron_door = 71,
	wood_pad = 72,
	redstone_torch_off = 75,
	redstone_torch_on = 76,
	stone_button = 77,
	ice = 79,
	snow = 80,
	cactus = 81,
	clay = 82,
	reeds = 83,
	jukebox = 84,
	fence = 85,
	pumpkin = 86,
	netherrack = 87,
	soul_sand = 88,
	glowstone = 89,
	lit_pumpkin = 91
}, true )

svr.Enum( "tool", {
	iron = {
		spade = 256,
		pickaxe = 257,
		axe = 258,
		sword = 267,
		hoe = 292
	},
	wood = {
		sword = 268,
		spade = 269,
		pickaxe = 270,
		axe = 271,
		hoe = 290
	},
	stone = {
		sword = 272,
		spade = 273,
		pickaxe = 274,
		axe = 275,
		hoe = 291
	},
	diamond = {
		sword = 276,
		spade = 277,
		pickaxe = 278,
		axe = 279,
		hoe = 293
	},
	gold = {
		sword = 283,
		spade = 284,
		pickaxe = 285,
		axe = 286
	}
}, true )

svr.Enum( "item", {
	flint_and_steel = 259,
	apple = 260,
	bow = 261,
	arrow = 262,
	coal = 263,
	diamond = 264,
	iron_ingot = 265,
	gold_ingot = 266,
	stick = 280,
	bowl = 281,
	mushroom_soup = 282,
	string = 287,
	feather = 288,
	gunpowder = 289,
	seed = 295,
	wheat = 296,
	bread = 297,
	leather_helmet = 298,
	leather_chestplate = 299,
	leather_leggings = 300,
	leather_boots = 301,
	chainmail_helmet = 302,
	chainmail_chestplate = 303,
	chainmail_leggings = 304,
	chainmail_boots = 305,
	iron_helmet = 306,
	iron_chestplate = 307,
	iron_leggings = 308,
	iron_boots = 309,
	diamond_helmet = 310,
	diamond_chestplate = 311,
	diamond_leggings = 312,
	diamond_boots = 313,
	gold_helmet = 314,
	gold_chestplate = 315,
	gold_leggings = 316,
	gold_boots = 317,
	flint = 318,
	pork = 319,
	cooked_pork = 320,
	painting = 321,
	gold_apple = 322,
	sign = 323,
	wood_door = 324,
	bucket = 325,
	water_bucket = 326,
	lava_bucket = 327,
	minecart = 328,
	saddle = 329,
	iron_door = 330,
	redstone = 331,
	snowball = 332,
	boat = 333,
	leather = 334,
	milk_bucket = 335,
	clay_brick = 336,
	clay_ball = 337,
	reed = 338,
	paper = 339,
	book = 340,
	slime_ball = 341,
	storage_minecart = 342,
	powered_minecart = 343,
	egg = 344,
	compass = 345,
	fishing_rod = 346,
	watch = 347,
	lightstone_dust = 348,
	fish = 349,
	cooked_fish = 350,
	gold_record = 2256,
	green_record = 2257
}, true )